package com.company.model.result;

import com.company.model.Comment;
import com.company.model.Company;
import java.io.Serializable;
import java.util.List;

/**
 * @author Tu enum@foxmail.com.
 * @since 2.1.0
 */
public class CompanyResult implements Serializable {

  private static final long serialVersionUID = -5787748968732706461L;
  private Company company;
  private List<Comment> comments;

  public Company getCompany() {
    return company;
  }

  public void setCompany(Company company) {
    this.company = company;
  }

  public List<Comment> getComments() {
    return comments;
  }

  public void setComments(List<Comment> comments) {
    this.comments = comments;
  }

  @Override
  public String toString() {
    return "CompanyResult{" +
        "company=" + company +
        ", comments=" + comments +
        '}';
  }
}
